package com.kira.solo.schedule.pojo

/**
 *
 * @packageName com.kira.solo.schedule.pojo
 * @date 2024/1/24 16:58
 * @author zhanglei
 */
sealed interface CasePrepareState {
    /**
     * 过程信息
     */
    data class PrepareMsg(val step: Int, val total: Int, val msg: String) : CasePrepareState

    /**
     * 准备成功，可以执行
     */
    data object Success : CasePrepareState

    data object Fail : CasePrepareState

    data class Error(val throwable: Throwable) : CasePrepareState
}

